const fs = require('fs')
const myReadStream = require('./ReadStream')

// const rs = fs.createReadStream('./test.txt',{
//   highWaterMark:4
// })
const rs = new myReadStream('./test.txt')

const ws = fs.createWriteStream('./test1.txt')

rs.pipe(ws)
